home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 February / EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso / earcd / devel / libx11 / include / x11 / extensions / pexerr.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  45 lines

  1. /* $XConsortium: PEXErr.h,v 5.1 91/02/16 09:47:05 rws Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright (c) 1988,1989,1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its 
  9. documentation for any purpose and without fee is hereby granted, 
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in 
  12. supporting documentation, and that the names of Sun Microsystems,
  13. the X Consortium, and MIT not be used in advertising or publicity 
  14. pertaining to distribution of the software without specific, written 
  15. prior permission.  
  16.  
  17. SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
  18. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT 
  19. SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
  20. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27.  
  28. #ifndef    PEXERRS_H
  29. #define    PEXERRS_H
  30.  
  31. typedef int ErrorCode;
  32.  
  33. #define    PEXNOERR    0
  34.  
  35. #ifndef    Success
  36. #define    Success        PEXNOERR
  37. #endif    /* Success */
  38.  
  39. #ifndef PEXNYI
  40. #define PEXNYI BadImplementation
  41. #endif    /* PEXNYI */
  42.  
  43. #endif    /* PEXERRS_H */
  44.  
  45.